$(function () {
    myajax("/getnavigation.json", "get", {}, function (result) {
        if (result.status == 200) {
            var nav_html = '';
            for (let nav of result.data) {
                nav_html += '<li><a href="' + nav.href + '">' + nav.name + '</a></li>';
            }
            $("#top-nav-content").html(nav_html);
        }
    });
});
